package com.bnz.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bnz.common.entity.TbPayLog;
import com.bnz.order.entity.Cart;
import com.bnz.order.entity.TbOrder;

import java.util.List;

public interface OrderService extends IService<TbOrder> {
    // 根据登录名得到购物车列表
    List<Cart> findOrderList(String name);
    // 添加订单
    void add(TbOrder tbOrder, String name);
    // 从redis中取出支付日志
    TbPayLog getPaylogByRedis(String name);
}
